import Vue from 'vue'
// 按需导入需要组件
import {
    Form, Input, Button, FormItem, Container,
    Header, Aside, Main, Menu, Submenu, MenuItemGroup,
    MenuItem, Breadcrumb, BreadcrumbItem, Card, Row, Col,
    Table, TableColumn, Switch, Tooltip, Pagination, Dialog,
    MessageBox, Tag, Tree, Select, Option,Cascader,Alert,TabPane,
    Tabs,Steps,Step,CheckboxGroup,Checkbox,Upload
} from 'element-ui'

// 导入弹框提示文件
import { Message } from 'element-ui'
Vue.prototype.$message = Message
Vue.prototype.$confirm = MessageBox.confirm

// 由于plug-element更新时间是19年1月,导入后更新的Timeline
import Timeline from './timeline/index.js'
import TimelineItem from './timeline-item/index.js'

Vue.use(Button)
Vue.use(Form)
Vue.use(FormItem)
Vue.use(Input)
Vue.use(Header)
Vue.use(Container)
Vue.use(Aside)
Vue.use(Main)
Vue.use(Menu)
Vue.use(MenuItem)
Vue.use(MenuItemGroup)
Vue.use(Submenu)
Vue.use(Breadcrumb)
Vue.use(BreadcrumbItem)
Vue.use(Card)
Vue.use(Row)
Vue.use(Col)
Vue.use(Table)
Vue.use(TableColumn)
Vue.use(Switch)
Vue.use(Tooltip)
Vue.use(Pagination)
Vue.use(Dialog)
Vue.use(Tag)
Vue.use(Tree)
Vue.use(Select)
Vue.use(Option)
Vue.use(Cascader)
Vue.use(Alert)
Vue.use(Tabs)
Vue.use(TabPane)
Vue.use(Steps)
Vue.use(Step)
Vue.use(Checkbox)
Vue.use(CheckboxGroup)
Vue.use(Upload)
Vue.use(Timeline)
Vue.use(TimelineItem)